package org.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.commmon.R;
import org.example.dto.CombinationDto;
import org.example.pojo.Combination;

import java.util.List;


public interface CombinationService extends IService<Combination> {

    void saveWithMedicine(CombinationDto setmealDto);

    void deleteWithMedicine(List<Long> id);

    CombinationDto getDtoById(Long id);

    void updateWithCombinationMedicine(CombinationDto setmealDto);

    R<Page> getPage(int page, int pageSize, String name);

}
